package com.ywl.study.transaction.transaction;

import com.ywl.study.transaction.util.Task;
import lombok.Data;

@Data
public class DistrictTransaction {
    private String groupId;
    private String transactionId;
    private TransactionType transactionType;
    private Task task=new Task();

    public DistrictTransaction(String groupId,String transactionId){
        this.groupId=groupId;
        this.transactionId=transactionId;
        this.task=new Task();
    }


    public DistrictTransaction(String groupId,String transactionId,TransactionType transactionType){
        this.groupId=groupId;
        this.transactionId=transactionId;
        this.transactionType=transactionType;
    }
}































